package lambda;

/**
 * @Classname: Demo
 * @Author: bromide
 * @CreateTime: 2022/3/25--19:07
 * @Version: V1.0
 * @Desciption:
 */
public class Demo {
    public static void main(String[] args) {
        String s1 = new String("Java");
        StringBuilder b1 = new StringBuilder("Java");

        System.out.println(b1.toString() == s1);
        System.out.println(b1.toString().equals(s1));
    }
}
